package com.milkshopbackend.milkshop.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.milkshopbackend.milkshop.entity.ProductImage;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ProductImageService extends IService<ProductImage> {
    String uploadImage(MultipartFile file);
    void addProductImage(Long productId, String imageUrl, Integer imageType, Integer sort);
    List<ProductImage> getProductImages(Long productId);
    void deleteProductImage(Long imageId);
} 